package pl.edu.mimuw.irs.rcp.view.navigation;

import pl.edu.mimuw.irs.core.model.design.IRSWorkflow;

public class TreeProject extends TreeParent {

	// *** Attributes

	private TreeIRSWorkflow treeIRSWorkflow;
	public TreeIRSWorkflow getTreeIRSWorkflow() {
		return treeIRSWorkflow;
	}
	public void setTreeIRSWorkflow(TreeIRSWorkflow treeIRSWorkflow) {
		this.treeIRSWorkflow = treeIRSWorkflow;
	}
	
	// *** Constructors

	public TreeProject(String name, IRSWorkflow irsWorkflow) {
		super(name);
		TreeIRSWorkflow treeIRSWorkflow = new TreeIRSWorkflow(name, irsWorkflow);
		setTreeIRSWorkflow(treeIRSWorkflow);
		
		addChild(treeIRSWorkflow);
	}
	
	// *** Methods
}
